/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "抢单车配件表",TableName = "car_other_parts")]
[Table("car_other_parts")]
    public partial class CarOtherParts:BaseEntity
    {
        /// <summary>
       ///组件
       /// </summary>
       [Key]
       [Display(Name ="组件")]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long id { get; set; }

       /// <summary>
       ///名称
       /// </summary>
       [Display(Name ="名称")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       public string name { get; set; }

       /// <summary>
       ///编码
       /// </summary>
       [Display(Name ="编码")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       public string code { get; set; }

       
    }
}